from messAround.util.database import BaseModel, BaseModelField
from sqlalchemy import Column
from sqlalchemy import VARCHAR


# 猫眼票房
class MaoyanBoardModel(BaseModel.base, BaseModelField):
    __tablename__ = 'hot_maoyan_board'
    name = Column(VARCHAR(1000))
    release = Column(VARCHAR(1000))
    money = Column(VARCHAR(1000))
    count_rate = Column(VARCHAR(1000))
    seat_count_rate = Column(VARCHAR(1000))
    show_count_rate = Column(VARCHAR(1000))


# 猫眼热门话题
class MaoyanTopicModel(BaseModel.base, BaseModelField):
    __tablename__ = 'hot_maoyan_topic'
    title = Column(VARCHAR(1000))
    link = Column(VARCHAR(1000))
